package assignment5;

public class Beer extends GoodsInfo {
	public Beer(double Price, int num) {
		super("beer", Price);
		this.num = num;
	}
	public void Show() {
		super.Show();
		System.out.println("num: "+num+'\t'+"TotalPrice: "+num*Price);
	}
	private int num;
}